﻿using B.S.Backtrack.ErrorCode;
using MediatR;

namespace B.S.Backtrack.Write.API.Application.Command.Product
{
    public class CreateProductCommand:IRequest<ApiResult<int>>
    {
        public int ProductId { get; set; }
        /// <summary>
        /// 商品名称外键
        /// </summary>
        public int GoodId { get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>
        public string ProductionBatch { get; set; }
        /// <summary>
        /// 保质期(天)
        /// </summary>
        public int ShelfLife { get; set; }
        /// <summary>
        /// 生产许可证号
        /// </summary>
        public string ProductionNum { get; set; }

        /// <summary>
        /// 生产企业
        /// </summary>
        public string ProductionEnterprise { get; set; }
        /// <summary>
        /// 封面图
        /// </summary>
        public string GoverImage { get; set; }
        /// <summary>
        /// 删除标志
        /// </summary>
        public bool IsDel { get; set; }
        public int PictureId { get; set; }
    }
}
